package pack_4_14_3;

import org.springframework.context.ResourceLoaderAware;
import org.springframework.core.io.ResourceLoader;

public class MyResourceLoaderAware implements ResourceLoaderAware {
    public MyResourceLoaderAware() {
        System.out.println("MyResourceLoaderAware create...");
    }
    
    @Override
    public void setResourceLoader(ResourceLoader resourceLoader) {
        System.out.println("MyResourceLoaderAware setResourceLoader("+resourceLoader+")...");
        System.out.println(resourceLoader.getClassLoader());
    }
}
